-
Home
-
WP ERP | Complete HR solution with recruitment & job listings | WooCommerce CRM & Accounting
-
1.11.3
-
Code
-
Classes
- Purchases_Controller
Total Complexity |
49 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
611 |
Lines of code |
433 |
Logical lines of code |
167 |
Comment lines |
87 |
Methods |
11 |
Properties |
2 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
prepare_item_for_database() |
A |
46 |
15 |
46 |
get_item_schema() |
A |
35 |
1 |
122 |
due_purchases() |
S |
48 |
6 |
31 |
add_log() |
S |
52 |
6 |
24 |
get_purchases() |
S |
48 |
5 |
31 |
update_purchase() |
S |
48 |
5 |
31 |
register_routes() |
S |
42 |
1 |
76 |
prepare_item_for_response() |
S |
49 |
3 |
30 |
create_purchase() |
S |
53 |
3 |
21 |
get_purchase() |
S |
59 |
2 |
13 |
void_purchase() |
S |
65 |
2 |
8 |